const app = getApp()
Page({
    data:{
      goodsList:{},
      gameId:'',
      gameInfo:{}
      
    },
   onLoad: function (options) {
     var that=this

     wx.request({
       url: app.globalData.url+'goodSellerListAction',
       data: {
        userId: options.sellerId,
      },
      success(res) {

        that.setData({
          goodsList:res.data
        })

        
   
      }
     })




     that.setData({
     gameInfo:app.globalData.gameImage,
     goodsList:JSON.parse(options.goodsByKey)
     })
 
   },

})

